import { axios } from '@/utils/request'

export function sendCode(Q){
  return axios({
    url: `/service-message/DongBing/sendMessage/sendCode/${Q}`,
    method: 'GET',
  })
}

export function getUserMessage(){
  return axios({
    url: `/api/ucenter/wx/getUserMessage`,
    method: 'GET',
  })
}

export function login(T){
  return axios({
    url: '/api/ucenter/wx/login',
    method: 'POST',
    data: T
  })
}
